package familytree.yu.com.admin.web;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

/**
 * @Author: yuyunbo
 * @Date: 2021/1/31 21:32
 * @Description: 启动类
 */
@EntityScan(basePackages = "familytree.yu.com")
@SpringBootApplication(scanBasePackages = "familytree.yu.com")
@EnableJpaRepositories(basePackages = "familytree.yu.com")
@EnableDubbo
public class AdminWebApplication {


    public static void main(String[] args) {
        SpringApplication.run(AdminWebApplication.class, args);
    }


}
